home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Prograph Reference Manual / Prograph Reference 1-4 / Prograph Reference 1-4.rsrc / TEXT_153.txt < prev    next >
Encoding:
Text File  |  1995-10-21  |  3.9 KB  |  100 lines

  1.  
  2. t    Menu Editor*132*
  3.  
  4. The Menu editor is a Specification editor. It can be invoked by:
  5.  
  6. o    selecting Enter Editor from the Apple menu when the attributes window of a ¬´Menu¬ª is frontmost, or when a Value window displaying a ¬´Menu¬ª is frontmost.
  7.  
  8. o    clicking the Graphic check box in a Value window displaying a ¬´Menu¬ª;
  9.  
  10. o    clicking the Edit button in the Application editor after selecting a ¬´Menu¬ª element from the List of Instances ;
  11.  
  12. o    double-clicking a ¬´Menu¬ª element in List of Instances in the Application editor;*132*
  13.  
  14. As the developer edits a ¬´Menu¬ª, a pictorial representation of it (referred to subsequently as the ‚Äúmenu image‚Äù) as it will appear in the menu bar is displayed in the top right-hand part of the editor window. Each item in the menu image corresponds to a ¬´Menu Item¬ª in the attribute item list of ¬´Menu¬ª and displays the values of the attributes check, name, and key of the ¬´Menu Item¬ª. At most one item in the menu image is selected. Clicking on an unselected item in the menu image selects it.*132*
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. Menu*133*
  36.  
  37. An editable-text field that displays the value of the attribute name of ¬´Menu¬ª. 
  38.  
  39. Disable Menu*133*
  40.  
  41. Check box for disabling the ¬´Menu¬ª (equivalent to setting attribute enabled? of ¬´Menu¬ª to FALSE).
  42.  
  43. Item*133*
  44.  
  45. An editable-text field displaying the value of the attribute name of the ¬´Menu Item¬ª corresponding to the selected item in the menu image. If the ¬´Menu Item¬ª has no name, the corresponding item in the menu image is a dotted line. Editing causes the menu image to be updated. 
  46.  
  47. Method*133*
  48.  
  49. An editable-text field that displays the value of attribute method of ¬´Menu Item¬ª (that is, the name of the method executed when the menu item is selected).
  50.  
  51. Key*134*
  52.  
  53. An editable-text field for the menu item‚Äôs command-key equivalent (the value of attribute key of ¬´Menu Item¬ª). The string can have only one character. Editing updates the menu image, provided the ¬´Menu Item¬ª has a name (its name attribute value is not the empty string).
  54.  
  55. Balloon…*134*
  56.  
  57. Opens a dialog for adding Balloon Help for the menu (if its name is selected) or for the selected menu item.
  58.  
  59. Insert Before*134*
  60.  
  61. Inserts a new ¬´Menu Item¬ª in the list in the attribute item list of ¬´Menu¬ª before the one that corresponds to the selected item in the menu image. Updates the menu image. 
  62.  
  63. Insert After*134*
  64.  
  65. Inserts a new ¬´Menu Item¬ª in the list in the attribute item list of ¬´Menu¬ª after the one that corresponds to the selected item in the menu image. Updates the menu image.
  66.  
  67. Delete*134*
  68.  
  69. Deletes the ¬´Menu Item¬ª corresponding to the selected item in the menu image from the list in the attribute item list of the ¬´Menu¬ª. Updates the menu image.
  70.  
  71. Instance*134*
  72.  
  73. Dismisses the Menu Editor as if the OK button had been pressed and opens a Value window showing the menu‚Äôs instance.
  74.  
  75. Disable Item*134*
  76.  
  77. Check box for disabling the menu item (equivalent to setting attribute active? of ¬´Menu Item¬ª to FALSE). Changing updates the menu image. 
  78.  
  79. Check*135*
  80.  
  81. Check box for putting a check mark (‚àö) next to a menu item (equivalent to setting attribute check? of ¬´Menu Item¬ª to TRUE). Changing updates the menu image. 
  82.  
  83. Styles*135*
  84.  
  85. If this radio button is set, check boxes specifying text styles are displayed.
  86.  
  87. Keys*135*
  88.  
  89. If this radio button is set, check boxes specifying modifier keys are displayed.
  90.  
  91. NOTE:  For each menu, you can specify either text styles or modifier keys, but not both.
  92.  
  93. Bold, Italic, Underline, Outline, Shadow*135*
  94.  
  95. These boxes are visible only when the Styles radio button is set. If any of these boxes are checked, the value of the attribute style of ¬´Menu Item¬ª indicates the corresponding style. Changing updates the menu image.
  96.  
  97. Shift, Option, Control*135*
  98.  
  99. These boxes are visible only when the Keys radio button is set. If any of these boxes is checked, the value of the attribute style of ¬´Menu Item¬ª indicates the corresponding modifier keys. Changing updates the menu image. 
  100.